<!doctype html>
<html lang="en">
 <head>
  <meta charset="UTF-8">
  <meta name="Generator" content="EditPlus®">
  <meta name="Author" content="">
  <meta name="Keywords" content="">
  <meta name="Description" content="">
  <title>Document</title>
  <style>
     div{
	   width:100px;
	   height:100px;
	   background-color:red;
	   float:left;
	   margin-left:10px;
	 }
  </style>
  <script src="jQuery复习/jquery-3.3.1.js"></script>
 </head>
 <body>
   <div></div>
 </body>
 <script>
    $("body").delegate("div","click",function(){
	    alert($(this).css("background-color"));//this指的是div的dom对象
		$("body").append("<div></div>"); 
	});
 </script>
</html>
